﻿<%@ Page Title="&#1499;&#1504;&#1497;&#1505;&#1492; &#1500;&#1502;&#1506;&#1512;&#1499;&#1514;"
    Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs"
    Inherits="TempEmployees.Web.WebFormLogin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="padding-top:25px; padding-right:25px">
    <asp:UpdatePanel ID="LoginUpdatePanel" runat="server">
        <ContentTemplate>
            <div>
                <asp:Label ID="LabelMessage" runat="server" ForeColor="Red"/>
            </div>
            <div>
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="&#1513;&#1501; &#1502;&#1513;&#1514;&#1502;&#1513;:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxUsername" runat="server" Width="150px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label2" runat="server" Text="&#1505;&#1497;&#1505;&#1502;&#1488;:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <br />
            </div>
            <div id="PanelChooseRole" runat="server" visible="false">
                <asp:DropDownList ID="DropDownListRoles" runat="server">
                </asp:DropDownList>
                <br />
                <asp:Button ID="ButtonChooseRole" runat="server" OnClick="ButtonChooseRole_Click"
                    Text="&#1489;&#1495;&#1512;" />
            </div>
            <div id="PanelLogonButton" runat="server">
                <asp:Button ID="ButtonLogin" runat="server" OnClick="ButtonLogin_Click" Text="כניסת משתמש" />
                <br />
                <asp:UpdateProgress ID="UpdateProgressLogin" runat="server" AssociatedUpdatePanelID="LoginUpdatePanel">
                    <ProgressTemplate>
                        <asp:Label ID="Label3" Text="&#1489;&#1493;&#1491;&#1511; &#1508;&#1512;&#1496;&#1497; &#1502;&#1513;&#1514;&#1502;&#1513;..."
                            runat="server"></asp:Label>
                        <br />
                        <img src="images/ajax-loader.gif" alt="..." />
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>
</asp:Content>
